package com.spring.boot.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhuYouBin
 * @version 1.0.0
 * @Date: 2022/10/12 22:43
 * @Description 测试控制器类
 */
@RestController
@RequestMapping("/api")
public class TestController {

    @RequestMapping("/test")
    public String testMethod() {
        return "<h2>恭喜您，成功搭建SpringBoot工程啦。</h2>";
    }

}
